﻿Partial Class _Admin
    Inherits System.Web.UI.Page


    Protected Sub Page_LoadComplete(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        article.InsertCommand = "INSERT INTO [Article] ([categoryId], [title], [content], [timeOfPost], [timeOfEdit]) VALUES (?, ?, ?, '" & DateTime.Now & "', '" & DateTime.Now & "')"
        article.UpdateCommand = "UPDATE [Article] SET [title] = ?, [content] = ?, [timeOfEdit] = '" & DateTime.Now & "' WHERE [ID] = ?"
    End Sub
End Class
